# Contributor: Justin Berthault <justin.berthault@zaclys.net>
# Maintainer: Justin Berthault <justin.berthault@zaclys.net>
pkgname=jgmenu
pkgver=4.4.0
pkgrel=0
pkgdesc="Simple, independent X11 menu"
url="https://github.com/johanmalm/jgmenu"
# s390x and riscv64 blocked by librsvg
arch="all !s390x !riscv64"
license="GPL-2.0-only"
depends="
	bash
	desktop-file-utils
	python3
	"
makedepends="
	librsvg-dev
	libxrandr-dev
	libxml2-dev
	pango-dev
	"
checkdepends="perl"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/johanmalm/jgmenu/archive/v$pkgver.tar.gz"

build() {
	./configure --prefix=/usr
	make
}

check() {
	make test
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="
bb0ca1927c77a1471f5f4566e54509756cd0a2426cf04e1e46687ff5309d86ce7992794fba86d253927fcb6014040891146f1296daa4eb55d71faddf01f596ed  jgmenu-4.4.0.tar.gz
"
